WPF and Silverlight Edition Basic Library > ProgressBar > ProgressBar Quick Start |
The following quick start guide is intended to get you up and running with ProgressBar for Silverlight. In this quick start you'll start in Visual Studio and create a new project, add the C1ProgressBar control to your application, and observe the control at run time.
In this step you'll begin in Visual Studio to create a Silverlight application using ProgressBar for Silverlight. Complete the following steps:
XAML Copy Code <UserControl x:Class="C1RangeSlider.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="Auto" Height="Auto">
You have successfully created a Silverlight application containing a C1ProgressBar control. In the next step, you will customize the control.
In the previous step you set up the application's user interface and added a C1ProgressBar control to your application. In this step you will customize the control and add a check box.
XAML Copy Code <Grid x:Name="LayoutRoot"> <c1:C1ProgressBar HorizontalAlignment="Left" Margin="3" Name="C1ProgressBar1" VerticalAlignment="Top" Height="200" Width="450" /> </Grid>
XAML Copy Code <Grid x:Name="LayoutRoot"> <c1:C1ProgressBar HorizontalAlignment="Left" Margin="3" Name="C1ProgressBar1" VerticalAlignment="Top" Height="200" Width="450" /> <CheckBox Content="Show C1ProgressBar1" IsChecked="{Binding IsIndeterminate, ElementName=C1ProgressBar1, Mode=TwoWay}"/> </Grid>
You have successfully customized the C1ProgressBar control. In the next step, you will observe the final application.
To run your application and observe ProgressBar for Silverlight's run-time behavior, complete the following steps:
Congratulations! You've completed the ProgressBar for Silverlight quick start.